<template>
	<view class="more"><text @click="more">{{text}}</text></view>
</template>

<script>
	export default {
		props: {
			text: {
				type: String,
				default: '查看更多'
			}
		},
		data() {
			return {
				
			};
		},
		methods: {
			more(){
				this.$emit('more')
			}
		}
	}
</script>

<style lang="scss">
	.more{
		text-align: center;
		text{
			display: inline-block;
			vertical-align: top;
			width: 220rpx;
			height: 64rpx;
			line-height: 60rpx;
			border: 2rpx solid rgba(230,230,230,1);
			border-radius: 8rpx;
			font-size: 24rpx;
			color: #333;
		}
	}
</style>